package org.front.client.widget;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Frame;

public class BarWidget extends Composite {

	private FlowPanel rootPanel;	

	public BarWidget(EventBus eventBus) {		
		rootPanel = new FlowPanel();
		rootPanel.setStyleName("bar");			
		Frame frame = new Frame();		
		frame.setUrl(GWT.getHostPageBaseURL() + "static/pub.jsp");	
		rootPanel.add(frame);		
		initWidget(rootPanel);
	}
}
